package com.tanhua.server.test;

import com.tanhua.autoconfig.templates.SmsTemplate;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import javax.swing.*;

@RunWith(SpringJUnit4ClassRunner.class)
@SpringBootTest
public class testSms {
    @Autowired
    private SmsTemplate smsTemplate;
    @Test
    public  void  sendMsg(){
        smsTemplate.sendMsg("17614905274","521888");

    }
}
